// NTRIPCLIENT.h
#ifndef NTRIPCLIENT_H
#define NTRIPCLIENT_H
using namespace std;
#include <node.h>
#include <node_object_wrap.h>

namespace demo {

    class NtripClient : public node::ObjectWrap {
        public:
        static void Init(v8::Local<v8::Object> exports);

        private:
        explicit NtripClient(char* mountpoint="", char*  ip="", char*  port="",
            char*  username="", char*  password="", char*  socketIp="", char*  socketPort="");
        ~NtripClient();

        static void New(const v8::FunctionCallbackInfo<v8::Value>& args);

        static void stop(const v8::FunctionCallbackInfo<v8::Value>& args);

        static v8::Persistent<v8::Function> constructor;

    };

}  // namespace demo

#endif